package cn.bestick.cblog.dto;

import java.util.Date;
import cn.bestick.cblog.dmo.Category;

public class ArticleDto {
	
	private Integer id;
	private String title;
	private String content;
	private Date pubDate;
	private Integer clicks;
	private String remark;
	private String picture;
	private Integer isDraft;
	private Category category;
	private UserDto user;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getPubDate() {
		return pubDate;
	}

	public void setPubDate(Date pubDate) {
		this.pubDate = pubDate;
	}

	public Integer getClicks() {
		return clicks;
	}

	public void setClicks(Integer clicks) {
		this.clicks = clicks;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getPicture() {
		return picture;
	}

	public void setPicture(String picture) {
		this.picture = picture;
	}

	public Integer getIsDraft() {
		return isDraft;
	}

	public void setIsDraft(Integer isDraft) {
		this.isDraft = isDraft;
	}

	public Category getCategory() {
		return category;
	}

	public void setCategory(Category category) {
		this.category = category;
	}

	public UserDto getUser() {
		return user;
	}

	public void setUser(UserDto user) {
		this.user = user;
	}

	@Override
	public String toString() {
		return "ArticleDto [id=" + id + ", title=" + title + ", content="
				+ content + ", pubDate=" + pubDate + ", clicks=" + clicks
				+ ", remark=" + remark + ", picture=" + picture + ", isDraft="
				+ isDraft + ", category=" + category + ", user=" + user + "]";
	}
}
